package com.heima.model.behavior.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 熏橙橙
 * APP用户粉丝信息表实体类
 * @version 1.0
 * @date 2023-08-02 19:13
 */
@Data
@TableName("ap_user_fan")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ApUserFan implements Serializable {

    @TableId(value = "id",type = IdType.ID_WORKER)
    private Long id;

    /**
     * 用户ID
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 粉丝ID
     */
    @TableField("fans_id")
    private Integer fansId;
    /**
     * 粉丝昵称
     */
    @TableField("fans_name")
    private String fansName;

    /**
     * 粉丝忠实度
     *              0 正常
     *             1 潜力股
     *             2 勇士
     *             3 铁杆
     *             4 老铁',
     */
    private Short level;

    /**
     * 创建时间
     */
    @TableField("created_time")
    private LocalDateTime created_time;

    /**
     * 是否可见我动态
     */
    @TableField("is_display")
    private Short isDisplay;

    /**
     * 是否屏蔽私信
     */
    @TableField("is_shield_letter")
    private Short isShieldLetter;

    /**
     * 是否屏蔽评论
     */
    @TableField("is_shield_comment")
    private Short isShieldComment;

}
